package persistence;

import java.util.ArrayList;
import model.Conversation;
import model.User;

public interface ConversationDAO {

    public boolean connection(String user, String pass, String driver, String url);

    public boolean disconnect();

    public boolean newConversation(Conversation conversation);

    public ArrayList<Conversation> getConversationMap();

    public ArrayList<Conversation> getConversationMap(User user);
}
